package com.xinzhi.yjyz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xinzhi.entity.Keeper;
import com.xinzhi.entity.Logistics;
import com.xinzhi.entity.Retention;
import com.xinzhi.yjyz.mapper.LogisticsMapper;
import com.xinzhi.yjyz.mapper.RetentionMapper;
import com.xinzhi.yjyz.service.ILogisticsService;
import com.xinzhi.yjyz.service.IRetentionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LogisticsServiceImpl extends ServiceImpl<LogisticsMapper, Logistics> implements ILogisticsService {
    @Resource
    private  LogisticsMapper logisticsMapper;

    @Override
    public Logistics oneselect1(String phone) {
        Logistics logistics = logisticsMapper.oneselect1("%" + phone);
        System.out.println(logistics.getKd_phone());
        return null;
    }

    @Override
    public Logistics oneselect2(String name) {
        return null;
    }
}
